<?php
/**
 * Created by PhpStorm.
 * User: wpf
 * Date: 2018/4/3
 * Time: 16:23
 */

namespace Nuoche\Controller;

use Common\Controller\NuochebaseController;

class LoginController extends NuochebaseController{

    public function index(){
        if(sp_is_user_login()){
            //如果登陆此次应该 跳转到 挪车的默认界面
            redirect(__ROOT__."/");
        }else{
            //没登陆进入登陆页面
            $this->display(':login');

        }
    }

    public function domobilelogin(){
        print_r(aaa);
    }
}